package com.cr.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 我的交易 TransactionVo
 *
 * @author ruoyi
 * @date 2021-10-14
 */
@Data
@ApiModel("我的交易")
public class TransactionVo
{

    /** 主键id */
    @ApiModelProperty("id")
    private Long id;

    /** 标题 */
    @ApiModelProperty("标题")
    private String title;

    /** 债权金额 */
    @ApiModelProperty("债权金额")
    private BigDecimal creditorRightsAmount;

    /** 转让金额 */
    @ApiModelProperty("转让金额")
    private BigDecimal TransferAmount;

    /** 时间 */
    @ApiModelProperty("时间")
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date time;

    /** 状态 */
    @ApiModelProperty("状态")
    private Integer status;

    /** 数据id */
    @ApiModelProperty("数据id")
    private Long dateId;

    /** 类型 0 债权线索，1债权交易 */
    @ApiModelProperty("类型 0 债权线索，1债权交易")
    private Long type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getCreditorRightsAmount() {
        return creditorRightsAmount;
    }

    public void setCreditorRightsAmount(BigDecimal creditorRightsAmount) {
        this.creditorRightsAmount = creditorRightsAmount;
    }

    public BigDecimal getTransferAmount() {
        return TransferAmount;
    }

    public void setTransferAmount(BigDecimal transferAmount) {
        TransferAmount = transferAmount;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getDateId() {
        return dateId;
    }

    public void setDateId(Long dateId) {
        this.dateId = dateId;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }
    
    

}